/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.just.dusin.ooii.component.kj;

import junit.framework.TestCase;
import org.just.dusin.ooii.core.Controller;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 *
 * @author Administrator
 */
public class AutoMineDataToMDatabaseKJSocketSink extends TestCase {
    
    public void testMM() throws InterruptedException{
        ApplicationContext ctx=new ClassPathXmlApplicationContext("org/just/dusin/ooii/component/kj/AutoMineDataToMDatabaseKJSocketSink.xml");
        Controller controller = (Controller)ctx.getBean("controller");
        controller.run();
        Thread.sleep(1000000);
    }
}
